projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69c32e0
)
* Make use of use of `subr-primitive-p' in `find-function-library'
author
Andrea Corallo
<akrl@sdf.org>
Sat, 19 Sep 2020 20:42:16 +0000
(22:42 +0200)
committer
Andrea Corallo
<akrl@sdf.org>
Mon, 21 Sep 2020 19:46:18 +0000
(21:46 +0200)
* lisp/emacs-lisp/find-func.el (find-function-library): Use
`subr-primitive-p'.
lisp/emacs-lisp/find-func.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/find-func.el
b/lisp/emacs-lisp/find-func.el
index f5f8c822089b6380802fb170e0b39967d3444509..a4577a53164adf91c7474f6cdd339ffd9c1e0915 100644
(file)
--- a/
lisp/emacs-lisp/find-func.el
+++ b/
lisp/emacs-lisp/find-func.el
@@
-432,7
+432,7
@@
message about the whole chain of aliases."
(cons function
(cond
((autoloadp def) (nth 1 def))
- ((
and (subrp def) (not (subr-native-elisp-p def))
)
+ ((
subr-primitive-p def
)
(if lisp-only
(error "%s is a built-in function" function))
(help-C-file-name def 'subr))